﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ElecProperty.aspx.cs" Inherits="TestDataReport_ElectReport_ElecProperty" %>

<%@ Register assembly="CrystalDecisions.Web, Version=10.5.3700.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>电性能日报</title>
    <link rel="shortcut icon" href="~/Images/antenna.png" />
</head>
<body>
    <form id="form1" runat="server">
    
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
     <script type="text/javascript" src="../../js/my97datepicker/WdatePicker.js"></script>
    <div style="height: 695px; width: 1107px">
         <asp:SiteMapPath ID="SiteMapPath1" runat="server">
         </asp:SiteMapPath>
         <br />
        <br />
         <br />
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
            <ContentTemplate>
                <div style="width: 60%; clear: left; float: left;">
                    起始时间：<input type="text" runat="server" id="TextBox1" onfocus="WdatePicker({startDate:'%y-%M-%d 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="TextBox1"
                        ErrorMessage="*" ValidationGroup="VGroup1"></asp:RequiredFieldValidator>
                    &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;终止时间：<input
                        type="text" runat="server" id="TextBox2" onfocus="WdatePicker({startDate:'%y-%M-%d 00:00:00',dateFmt:'yyyy-MM-dd HH:mm:ss',alwaysUseStartDate:true})" />
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="TextBox2"
                        ErrorMessage="*" ValidationGroup="VGroup1"></asp:RequiredFieldValidator>
                </div>
   
            </ContentTemplate>
        </asp:UpdatePanel>
        <div style="width: 10%; float: left">
            <asp:Button ID="Button1" runat="server" OnClick="Button1_Click" Text="查  询"  Height="29px"/>
        </div>
        <div style="width: 30%; float: right">
            <asp:Button ID="Button2" runat="server" OnClick="Button2_Click" Text="查询所有数据" 
                Height="29px" />
        </div>
         <br />
        &nbsp;&nbsp;&nbsp;<br />
        <hr>
        <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
         ReportSourceID="CrystalReportSource1" AutoDataBind="true"  Height="50px" 
            Width="350px" style="text-align: left" 
             Visible="False" DisplayGroupTree="False"/>
        <CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
        </CR:CrystalReportSource>
    </div>    
    </form>
</body>
</html>



